package com.itheima_01.day08;

public class StringEquals {
    public static void main(String[] args) {
        String s1 = "zmx";
        String s2 = "zjy";
        String s4 = "ZMX";
        String s3 = "zmx";
        System.out.println(s1.equals(s2));
        System.out.println(s1.equals(s4));
        System.out.println(s1.equals(s3));
        System.out.println(s1.equalsIgnoreCase(s2));
        System.out.println(s1.endsWith("x"));
    }


}
